import Vue from 'vue'
import App from './App.vue'
import router from "@/router"
import store from "@/store"
import Antd from 'ant-design-vue';

import "@/assets/css/style.css"
import "@/assets/css/common.less"
import 'ant-design-vue/dist/antd.css';

// axios
import {http} from "@/utils/http.js"

// echart
import * as echarts from "echarts"

// antv
Vue.config.productionTip = false

Vue.use(Antd);

// 将echart放到vue实例中
Vue.prototype.$echarts = echarts;

// axios 配置到vue原型链中
Vue.prototype.$http = http

// mockjs模块
// require("./mock")

// 时间格式化插件
import moment from 'moment'
Vue.prototype.$moment = moment;

const app = new Vue({
  render: h => h(App),
  router: router,
  store: store,
}).$mount('#app')

